package com.hckjsec.cloud.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 申办信息视频对象 applets_business_video
 * 
 * @author cyt
 * @date 2021-08-26
 */
public class AppletsBusinessVideo implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 配置id */
    @Excel(name = "配置id")
    private Long configId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 案件id */
    @Excel(name = "案件id")
    private Long businessid;

    /** 房间号 */
    @Excel(name = "房间号")
    private String roomid;

    /** 自定义的房间号 */
    @Excel(name = "自定义的房间号")
    private String customroomid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userid;

    /** 发起人姓名 */
    @Excel(name = "发起人姓名")
    private String username;

    /** 状态 0已开启,1 已结束 */
    @Excel(name = "状态 0已开启,1 已结束")
    private String state;

    /** 云端混流编号 */
    @Excel(name = "云端混流编号")
    private String requestid;

    /** 云端录制uuid */
    @Excel(name = "云端录制uuid")
    private String recordingid;

    /** 视频地址 */
    @Excel(name = "视频地址")
    private String videoUrl;

    /** 视频下载后地址 */
    @Excel(name = "视频下载后地址")
    private String videoPath;

    /** 发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发起时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date operatortime;

    public AppletsBusinessVideo() {
    }

    public AppletsBusinessVideo(String roomid, String customroomid) {
        this.roomid = roomid;
        this.customroomid = customroomid;
    }

    public AppletsBusinessVideo(Long configId, String customroomid, String state) {
        this.configId = configId;
        this.customroomid = customroomid;
        this.state = state;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setBusinessid(Long businessid) 
    {
        this.businessid = businessid;
    }

    public Long getBusinessid() 
    {
        return businessid;
    }
    public void setRoomid(String roomid) 
    {
        this.roomid = roomid;
    }

    public String getRoomid() 
    {
        return roomid;
    }
    public void setCustomroomid(String customroomid) 
    {
        this.customroomid = customroomid;
    }

    public String getCustomroomid() 
    {
        return customroomid;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setRequestid(String requestid) 
    {
        this.requestid = requestid;
    }

    public String getRequestid() 
    {
        return requestid;
    }
    public void setRecordingid(String recordingid) 
    {
        this.recordingid = recordingid;
    }

    public String getRecordingid() 
    {
        return recordingid;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setVideoPath(String videoPath) 
    {
        this.videoPath = videoPath;
    }

    public String getVideoPath() 
    {
        return videoPath;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("deptId", getDeptId())
            .append("businessid", getBusinessid())
            .append("roomid", getRoomid())
            .append("customroomid", getCustomroomid())
            .append("userid", getUserid())
            .append("username", getUsername())
            .append("state", getState())
            .append("requestid", getRequestid())
            .append("recordingid", getRecordingid())
            .append("videoUrl", getVideoUrl())
            .append("videoPath", getVideoPath())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
